/**
 * Created by Administrator on 2017-05-23.
 */
var a=i=>i%2==0;
var arr=[1,2,3,4,5,6];
console.log(arr.filter(i=>i%2==0));
function getName(name:string){
    this.name=name;
    setInterval(()=>{
        console.log("my name is"+this.name)
    },1000)
}
var a=new getName("xiongmao");